package router

import (
	"fmt"
	controller "golang_start/app/api/controller"
	"golang_start/app/api/controller/grpcontroller"
	"golang_start/grpc/gogrpc"

	"google.golang.org/grpc"
)

func GrpcRouter(gs *grpc.Server) {
	fmt.Println("加载Grpc服务...")

	gogrpc.RegisterCodeTypeServiceServer(gs, &controller.CodeTypeServer{})
	gogrpc.RegisterCodeActivityTestaGrpcServer(gs, &grpcontroller.CodeActivityTestaGrpc{})
	gogrpc.RegisterCodeContentGrpcServer(gs, &grpcontroller.CodeContentGrpc{}) /*{%grpc_routes%}*/

}
